<!--
auth: 徐剑锋
-->
<html>
	<head>
		<link rel="stylesheet" href="<?php echo IMG_PATH ?>admin/common.css?<?php echo STATIC_VER ?>">
		<script src="http://static.caocaod.com/libs/jquery/jquery-2.2.3.min.js"></script>
		<script src="<?php echo IMG_PATH ?>admin/common.js?<?php echo STATIC_VER ?>"></script>
		<script src="<?php echo IMG_PATH ?>admin/report/order.js?<?php echo STATIC_VER ?>"></script>
        <script  src="<?php echo IMG_PATH ?>com/My97DatePicker/WdatePicker.js"></script>
		<script>SITE_PATH='<?php echo SITE_PATH ?>';</script>
		<title>监控订单 - 千纸鹤管理平台</title>
        <style>
            .showpage{width:100%; height:30px;text-align:center; line-height: 30px;float:left;font-size:16px;margin:10px 0;}

            .showpage a , .showpage .current{ border:1px dashed #f1f4f6;font-size:14px; font-family:arial; margin:0 1px;}
            .showpage a ,  .current{ padding:2px 6px;}
            .showpage .current, .showpage a:hover{ border:1px solid blue;text-decoration:none;}
            td{padding:1px 3px;text-align:center;}
            tr:nth-of-type(3n){background:#FFFFE0;}
        </style>
	</head>
	<body>

    <?php echo $header ?>

    <div id="body"style="width:120%;" >
        <div style="font-size:18px;margin:5px 0;">当前位置：报表＞＞订单</div>
        <form action="javascript:;" method="post" id="searchForm">
        <div style="width:100%;height:130px; border-bottom:1px solid gray;">
            <div style="font-size:18px;margin:5px 0;">搜索条件>>
                <span style="margin:5px 15px;font-size:14px;">  订单号：<input type="text" name="orderCode" /></span>
                <span style="margin:5px 15px;font-size:14px;">  件号：<input type="text" name="pieceCode" /></span>
            </div>
            <div style="height:110px;width:74%;">

                <div style="height:33px;width:110%;">
                    <div style="float:left;margin:5px 15px;">发件人：<input type="text" name="sendName" /></div>
                    <div style="float:left;margin:5px 15px;">发件人地址：<input type="text" name="sendAddr" /></div>
                    <div style="float:left;margin:5px 15px;">发件人手机：<input type="text" name="sendPhone" maxlength="11" pattern="^1[0-9]{10}$" /></div>
                    <div style="float:left;margin:5px 15px;">
                        下单起始时间：从<input type="text" name="sendTime" onClick="WdatePicker();" autocomplete="false"/>到<input type="text" name="sendTime2" onClick="WdatePicker();" autocomplete="false"/>
                    </div>

                </div>
                <div style="height:33px;width:90%;">
                    <div style="float:left;margin:5px 15px;">收件人：<input type="text" name="receiveName" /></div>
                    <div style="float:left;margin:5px 15px;">收件人地址：<input type="text" name="receiveAddr" /></div>
                    <div style="float:left;margin:5px 15px;">收件人手机：<input type="text" name="receivePhone" maxlength="11" pattern="^1[0-9]{10}$" /></div>

                </div>

                <div style="height:33px;width:90%;">
                    <div style="float:left;margin:5px 15px;">下单帐户：<input type="text" name="tAccount" /></div>
                    <div style="float:left;margin:5px 5px;">
                        支付方式：
                        <select name="tPayType" style="width:140px;">
                            <option value="" selected>请选择</option>
                            <?php
                            foreach($_PIECE_TYPE_PAY as $k=>$v) {
                                echo '<option value='.$k.'>'.$v .'</option>';
                            }?>
                        </select>
                    </div>
                    <div style="float:left;margin:5px 35px;">&nbsp;保&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;价：<input type="number" name="tPound" style="width:142px;"/></div>
                    <div style="float:left;margin:5px 5px;">
                        件内部状态：
                        <select name="tPieceState">
                            <option value="" selected>请选择</option>
                            <?php
                            foreach($_STATE_IN_PIECE as $k=>$v) {
                                echo '<option value='.$k.'>'.$v .'</option>';
                            }?>

                        </select>
                    </div>
                    <input type="hidden" name="count" value="<?php echo isset($count)?$count:'';?>" />
                </div>
            </div>
            <div style="margin-top:3%;width: 200px;float: right;margin-right: 431px;margin-top: -74px;">
                <div style="float:left;"><input type="submit" name="search" value="搜索" style="width:60px;height:55px;"/> </div>
                <div style="float:left;"><input type="reset" id="reset" value="清空" style="width:60px;height:55px;margin-left:15px;"/> </div>
            </div>
        </div>
        </form>
        <div class="showpage"></div>
        <div id="stateWin" class="window">
            <div class="content">编号【<span class="id">0</span>
                <input type="hidden" name="id" value="0">】　状态：
                <select name="state">
                    <?php foreach($_STATE_PIECE as $key => $val) { ?>
                        <option value="<?php echo $key ?>"><?php echo $val ?></option>
                    <?php } ?>
                </select>　内部：
                <select name="stateIn">
                    <?php foreach($_STATE_IN_PIECE as $key => $val) { ?>
                        <option value="<?php echo $key ?>"><?php echo $val ?></option>
                    <?php } ?>
                </select><br><br>
                <input type="button" value="保存" class="ok">　
                <input type="button" value="取消" class="cancel">
            </div>
        </div>
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <thead>
                <th>编号</th><th>件码</th><th>订单号</th><th>发件地址</th><th>发件电话</th>
                <th>发件姓名</th><th>收件地址</th><th>收件电话</th>
                <th>收件姓名</th><th>下单时间</th><th>下单账户</th>
                <th>保价</th><th>应收</th><th>支付方式</th><th>产品类型</th>
                <th>已线上支付</th><th>状态</th><th>操作</th><th>公司ID</th><th>公司名称</th>
            </thead>
            <tbody id="listTBody">

            </tbody>
        </table>
    </div>
</body>
</html>